package com.nxmu.hire.init;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import javax.sql.DataSource;

/**
 * 数据库初始化启动类
 * @author Lee
 */
public class InitializeApplication {

	final static String CONFIG_FILE_NAME = "spirng-init.xml";
	
	@SuppressWarnings("resource")
	public static void main(String[] args) {
		
		new ClassPathXmlApplicationContext(CONFIG_FILE_NAME).getBean(DataSource.class);
	
	}
	
}
